ContentControl\Services\Restrictions S

Total Complexity 37
Dependencies 2
Dependents 1
Total lines 257
Lines of code 140
Logical lines of code 88
Comment lines 71
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
get_restriction()
A
53 10 25
get_cache_key()
S
50 7 27
get_restrictions()
S
50 5 29
get_applicable_restriction()
S
56 5 19
get_all_applicable_restrictions()
S
57 5 17
user_meets_requirements()
S
60 3 14
has_applicable_restrictions()
S
79 1 3
sort_restrictions_by_priority()
S
71 1 6